﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Axium.Model;

namespace Axium.DataAccess
{
    /// <summary>
    /// Abstract Repository for data access. This should defind all method for data access
    /// </summary>
    public interface IAxiumRepository
    {
        /// <summary>
        /// This method returns SomeModel by Id
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        SomeModel GetItem(int id);
        /// <summary>
        /// returns a list of object which are satisfied provided filter (input parametes) 
        /// </summary>
        /// <param name="filter"></param>
        /// <returns></returns>
        IEnumerable<SomeModel> GetItems(string filter);
    }
}
